.class final Lcom/ninesky/browser/view/k;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnTouchListener;


# instance fields
.field final synthetic a:Lcom/ninesky/browser/view/bh;


# direct methods
.method constructor <init>(Lcom/ninesky/browser/view/bh;)V
    .locals 0

    iput-object p1, p0, Lcom/ninesky/browser/view/k;->a:Lcom/ninesky/browser/view/bh;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final onTouch(Landroid/view/View;Landroid/view/MotionEvent;)Z
    .locals 5

    invoke-virtual {p2}, Landroid/view/MotionEvent;->getAction()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    :goto_0
    const/4 v0, 0x0

    return v0

    :pswitch_0
    iget-object v0, p0, Lcom/ninesky/browser/view/k;->a:Lcom/ninesky/browser/view/bh;

    invoke-static {v0}, Lcom/ninesky/browser/view/bh;->a(Lcom/ninesky/browser/view/bh;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-static {}, Lcom/ninesky/browser/TabControl;->a()Lcom/ninesky/browser/TabControl;

    move-result-object v0

    invoke-virtual {v0}, Lcom/ninesky/browser/TabControl;->h()Lcom/ninesky/browser/n;

    move-result-object v0

    iget-object v1, p0, Lcom/ninesky/browser/view/k;->a:Lcom/ninesky/browser/view/bh;

    new-instance v2, Lcom/ninesky/widget/l;

    iget-object v3, p0, Lcom/ninesky/browser/view/k;->a:Lcom/ninesky/browser/view/bh;

    invoke-static {v3}, Lcom/ninesky/browser/view/bh;->b(Lcom/ninesky/browser/view/bh;)Lcom/ninesky/browser/BrowserActivity;

    move-result-object v3

    invoke-direct {v2, v3}, Lcom/ninesky/widget/l;-><init>(Landroid/content/Context;)V

    invoke-static {v1, v2}, Lcom/ninesky/browser/view/bh;->a(Lcom/ninesky/browser/view/bh;Lcom/ninesky/widget/l;)V

    iget-object v1, p0, Lcom/ninesky/browser/view/k;->a:Lcom/ninesky/browser/view/bh;

    invoke-static {v1}, Lcom/ninesky/browser/view/bh;->c(Lcom/ninesky/browser/view/bh;)Lcom/ninesky/widget/l;

    move-result-object v1

    const v2, 0x7f020067

    const v3, 0x7f0700d1

    new-instance v4, Lcom/ninesky/browser/view/bt;

    invoke-direct {v4, p0}, Lcom/ninesky/browser/view/bt;-><init>(Lcom/ninesky/browser/view/k;)V

    invoke-virtual {v1, v2, v3, v4}, Lcom/ninesky/widget/l;->a(IILandroid/view/View$OnClickListener;)Landroid/view/View;

    iget-object v1, p0, Lcom/ninesky/browser/view/k;->a:Lcom/ninesky/browser/view/bh;

    invoke-static {v1}, Lcom/ninesky/browser/view/bh;->c(Lcom/ninesky/browser/view/bh;)Lcom/ninesky/widget/l;

    move-result-object v1

    iget-object v2, p0, Lcom/ninesky/browser/view/k;->a:Lcom/ninesky/browser/view/bh;

    invoke-static {v2}, Lcom/ninesky/browser/view/bh;->e(Lcom/ninesky/browser/view/bh;)Landroid/webkit/WebView;

    move-result-object v2

    invoke-virtual {p2}, Landroid/view/MotionEvent;->getX()F

    move-result v3

    float-to-int v3, v3

    invoke-virtual {v0}, Lcom/ninesky/browser/n;->b()I

    move-result v0

    invoke-virtual {v1, v2, v3, v0}, Lcom/ninesky/widget/l;->a(Landroid/view/View;II)V

    :cond_0
    iget-object v0, p0, Lcom/ninesky/browser/view/k;->a:Lcom/ninesky/browser/view/bh;

    invoke-static {v0}, Lcom/ninesky/browser/view/bh;->f(Lcom/ninesky/browser/view/bh;)V

    goto :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_0
    .end packed-switch
.end method
